package com.ljc.service;

import com.ljc.entity.PurchaseApply;
import com.ljc.entity.PurchaseApplyReview;
import com.ljc.vo.PurchaseApplySearByUser;
import com.ljc.vo.PurchaseApplySearchByAdmit;

import java.util.List;

public interface PurchaseApplyService {
    int insert(PurchaseApply purchaseApply);
    List<PurchaseApply> searchByUser(PurchaseApplySearByUser search);
    PurchaseApply findById(int id);
    List<PurchaseApply> findByAdmit(PurchaseApplySearchByAdmit search);
    void review(PurchaseApplyReview review);
    PurchaseApplyReview getReview(int id);
    int countByUserId(int userId);
}
